package com.flash.GlobalManagement.entity;

import java.io.Serializable;

/**
 * 类的描述：用户实体类
 * 提供get/set方法，toString方法
 * @author Liy
 * @version 1.0
 * @since 2022/7/14
 */
public class Users implements Serializable {
    // 用户id
    private int userId;
    // 用户名
    private String  userName;
    // 用户密码
    private String userPas;
    // 用户角色id
    private int userRoleId;
    // 用户是否在用
    private int  userFlag;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPas() {
        return userPas;
    }

    public void setUserPas(String userPas) {
        this.userPas = userPas;
    }

    public int getUserRoleId() {
        return userRoleId;
    }

    public void setUserRoleId(int userRoleId) {
        this.userRoleId = userRoleId;
    }

    public int getUserFlag() {
        return userFlag;
    }

    public void setUserFlag(int userFlag) {
        this.userFlag = userFlag;
    }

    @Override
    public String toString() {
        return "Users{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPas='" + userPas + '\'' +
                ", userRoleId=" + userRoleId +
                ", userFlag=" + userFlag +
                '}';
    }
}
